<script>
	export default {
		globalData: {
			host: 'http://192.168.1.216:8100',
			pos: null, // 当前商户
			user: null, // 用户信息
			auth: null, // 账户信息
			token: null,
			username: 'tttbbb999',
			password: '123456'
		},
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show');
			uni.onTabBarMidButtonTap(function(res) {
				uni.navigateTo({
					url: '/pages/main/main'
				})
			});

		},
		onHide: function() {
			console.log('App Hide');
		}
	}
</script>

<style>
	/*每个页面公共css */
	@font-face {
		font-family: 'myUniFont';
		src: url('/static/uni.ttf');
	}

	.page-tab-content {
		touch-action: none;
		overflow: hidden;
		height: 100%;
		display: flex;
		flex-direction: column;
	}

	.status_bar {
		height: var(--status-bar-height);
		width: 100%;
		background-color: #ff90af;
	}

	.popup-content {
		background-color: #F8F8F8;
	}

	.scroll-Y {
		flex: 1;
	}

	.page-bottom-content {
		/* margin-bottom: 50px; */
	}

	.card-actions {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		align-items: center;
		height: 45px;
		border-bottom: 1px #eee solid;
	}
</style>